package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Picture;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface PictureDao {
	public void insert(Picture picture) throws AppBusinessException;

	public List<Picture> getList(Map<String, Object> map)
			throws AppBusinessException;

	public int getListCount(Map<String, Object> map)
	throws AppBusinessException;
	
	public void update(Picture picture) throws AppBusinessException;

	public void deleteById(String id) throws AppBusinessException;

	public Picture getById(String id) throws AppBusinessException;
	
	public void deleteByAlbum(String album) throws AppBusinessException;
}
